home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEV
/
A-B
/
002. TESample.cpt
/
About TESample
next >
Wrap
Text File
|
1988-08-02
|
2KB
|
41 lines
_______________________________________________________________________________________________
Macintosh Sample Code
#2: TESample
Versions: 1.0 8/88
Components: TESample.p August 1, 1988
TESample.c August 1, 1988
TESample.a August 1, 1988
TESample.r August 1, 1988
TESample.h August 1, 1988
PTESample.make August 1, 1988
CTESample.make August 1, 1988
_______________________________________________________________________________________________
TESample is an example application that demonstrates how to initialize the commonly
used toolbox managers, operate successfully under MultiFinder, handle desk
accessories and create, grow, and zoom windows. The fundamental TextEdit toolbox
calls and TextEdit autoscroll are demonstrated. It also shows how to create and maintain
scrollbar controls.
It does not by any means demonstrate all the techniques you need for a large
application. In particular, Sample does not cover exception handling, multiple
windows/documents, sophisticated memory management, printing, or undo. All of these
are vital parts of a normal full-sized application.
This application is an example of the form of a Macintosh application; it is NOT a
template. It is NOT intended to be used as a foundation for the next world-class,
best-selling, 600K application. A stick figure drawing of the human body may be a good
example of the form for a painting, but that does not mean it should be used as the basis
for the next Mona Lisa.
We recommend that you review this program or Sample before beginning a new
application. Sample is a simple app. which doesn’t use TextEdit or the Control Manager.